.blgcomment-list>li:nth-child(n+2) {
    margin-block-start: 15px !important;
}

.custom-card {
    border: 1px solid #ced4da;
}

.customizer-action svg {
    width: 23px !important;
    color: #ffffff !important;
}

.active-mode {
    border: solid 2px #000000 !important;
}

.property-img {
    max-width: 507px;
    max-height: 286px;
}

.text-justify {
    text-align: justify;
}

.custom .media {
    padding: 10px !important;
}

.user-avatar {
    width: 30px;
    height: 30px;
}

@media only screen and (max-width: 410px) {
    .header_li {
        display: none !important;
    }
}

.blgcomment-list li .media img {
    width: auto;
    height: 40px !important;
}

#card-element {
    border: 1px solid #e5e5e5 !important;
    border-radius: 5px !important;
    padding: 13px !important;
}

.codex-sidebar .logo-gridwrap {
    padding: 0px 16px !important;
}

.setting-logo {
    width: 300px !important;
    ;
}

.landing-logo {
    max-width: 225px;

}

.auth-main .auth-wrapper.v2 .logo {
    max-width: 300px;

}

.b-brand .logo {
    max-width: 160px !important;

}

.lan-footer .codex-brand {
    margin-block-end: 0px !important;
}

.email-sidebar ul.custom-sidebarmenu-list {
    margin-block-start: 0px;
}

.invoice-logo {
    width: 250px;
}

.codex-calendar .events-list li {
    font-size: 13px;
    font-weight: 500;
    padding: 10px 10px;
    border-radius: 5px;
    color: #fff;
    line-height: 1;
}

.codex-calendar .events-list {
    overflow: auto;
    height: 863px;
}

.landing_logo {
    filter: drop-shadow(2px 3px 7px #011C4B);
}

.head-invoice img {
    width: 250px;
}

.cdx-invoice .body-invoice .table tr td {
    padding: 10px 10px !important;
}


.codex-brand img {
    width: 300px;
}

.codex-authbox .auth-header .codex-brand {
    margin-block-end: 0px;
}


.intro {
    background-repeat: no-repeat;
    background-size: cover;
}

.landing_dash {
    position: absolute;
    right: 0px;
    top: 50%;
    left: auto;
    bottom: 0;
    transform: translateY(-50%);
    overflow: hidden;
    height: 585px;
    display: flex;
    align-items: center;
    width: 60%;
}

.landing_dash img {
    object-fit: cover;
    position: relative;
    right: -220px;
    border-radius: 10px;
    left: auto;
    width: 100%;
    height: 100%;
}

@media only screen and (max-width: 1440px) {
    .landing_dash {
        display: none;
    }
}

.lan-footer {
    text-align: center;
    background-color: unset;
}

.lan-footer .support-contain p {
    color: #051722;
    font-size: calc(16px + 4*(100vw - 420px) / 1500);
}

.select2-container .select2-selection--single {
    height: 43px !important;
    border-color: #e5e5e5;
}

.select2-container .select2-selection--multiple {
    min-height: 43px !important;
}

.select2-container--default .select2-selection--multiple {
    border: 1px solid #e5e5e5;
}

/* =========================================================================== */
.dt-length {
    padding-left: 7px !important;
}

.dt-search {
    padding-right: 7px !important;
}

.dt-info {
    padding-left: 7px !important;
}

.dt-paging {
    padding-right: 7px !important;
}

.dt-buttons {
    padding-left: 7px !important;
    float: left;
}

.dt-container {
    margin-top: 10px;
}

.dt-info {
    float: left;
}

.dt-paging {
    float: right;
    padding-top: .85em;
}

.form-group {
    margin-bottom: 15px;
}

div:where(.swal2-container) h2:where(.swal2-title) {
    font-size: 1.2em !important;
}

div:where(.swal2-container) .swal2-html-container {
    font-size: 0.9em !important;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel {
    font-size: 0.8em !important;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {
    font-size: 0.8em !important;
}

div:where(.swal2-icon) {
    width: 4em !important;
    height: 4em !important;
}

.account-tabs .nav-item .nav-link {
    position: relative;
    padding: 0.7rem 1rem;
    font-weight: 500;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.testaments-cards::after {
    background: transparent !important;
}

.pricingpricing .price-card .product-list li::before {
    content: '\eb55';
    color: red;
}

.pricingpricing .price-card .product-list li.enable::before {
    content: "\ea5e";
    color: #014be2;
}

.pricingpricing .price-card .product-list li {
    opacity: 1 !important;
}

.account-tabs .nav-item .nav-link.active {
    color: var(--bs-secondary-rgb);
    background: rgba(var(--bs-secondary-rgb), 0.1);
}

form label {
    text-transform: capitalize;
}





.codex-calendar .fc-event-title {
    padding: 1px;
    width: 100%;
    white-space: pre-wrap;
    max-height: 35px;
    height: 35px;
}

.codex-calendar .fc-event {
    border-radius: 12px;
    text-align: center;
}

.codex-calendar .fc-datagrid-cell-frame {
    max-height: 56px;
    height: 56px;
}

.codex-calendar .fc-timeline-lane-frame {
    max-height: 56px;
    height: 56px;
}

.fc .fc-datagrid-cell-cushion {
    padding: 18px !important;
}

.codex-calendar .fc-event-title {
    display: grid;
    align-items: center;
}

.fc-scroller thead tr {
    height: 61px;
}

.select2-container .select2-selection--single {
    height: 43px !important;
    border-color: #e5e5e5;
}

.select2-container .select2-selection--multiple {
    min-height: 43px !important;
}

.select2-container--default .select2-selection--multiple {
    border: 1px solid #e5e5e5;
}

.fc-timeline-header-row .fc-day-today::before {
    content: "";
    display: block;
    width: 6px;
    height: 8px;
    border-left: 10px solid transparent;
    border-right: 9px solid transparent;
    border-top: 13px solid red;
    position: absolute;
    top: 0px;
    margin-left: 13px;
}

.codex-calendar .events-list li {
    font-size: 13px;
    font-weight: 500;
    padding: 10px 10px;
    border-radius: 5px;
    color: #fff;
    line-height: 1;
}

.codex-calendar .events-list {
    overflow: auto;
    height: 863px;
}

@media print {
    .table-responsive {
        overflow: visible !important;
        height: auto !important;
        display: block !important;
    }
}

.color_type {
    position: relative;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.15s ease-in-out;
    margin-right: 10px;
    margin-top: 10px;
    width: 48px;
    height: 48px;
    flex: none;
    cursor: pointer;
}

.cutom_colorr.active::after,
.cutom_colorr.custom::after {
    content: "✓";
    color: #fff;
    font-size: 30px;
    background: none !important;
    font-weight: 900;
    background-color: transparent !important;
    display: inline-block;
    position: absolute;
    top: 50%;
    right: 10px;
    line-height: 0;
}

/* Contract Color Selector Styles */
.contract-color-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.color-swatch {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.color-swatch:hover {
    transform: scale(1.1);
    border-color: #333;
}

.color-swatch.active {
    border-color: #000;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #000;
}

.color-swatch.active::after {
    content: "✓";
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

/* ============================================================================= */
/* OptiCar Landing Page Enhancements */
/* ============================================================================= */

/* Enhanced Typography */
.landing-page h1 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(1, 75, 226, 0.1);
}

.landing-page h2.h1 {
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: #343a40;
}

.landing-page h3 {
    font-weight: 600;
    line-height: 1.4;
    color: #495057;
}

.landing-page h4 {
    font-weight: 500;
    line-height: 1.5;
    color: #6c757d;
}

.landing-page p.text-lg {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #6c757d;
    font-weight: 400;
}

/* Modern Card Enhancements */
.feature-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(1, 75, 226, 0.15);
}

.price-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(1, 75, 226, 0.2);
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #014be2, #014be2);
}

/* Enhanced Buttons */
.btn-primary {
    background: linear-gradient(135deg, #014be2, #014be2);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    padding: 12px 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(1, 75, 226, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #014be2, #014be2);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(1, 75, 226, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #014be2, #014be2);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    padding: 12px 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(1, 75, 226, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #014be2, #014be2);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(1, 75, 226, 0.4);
}

.btn-outline-primary {
    border: 2px solid #014be2;
    color: #014be2;
    border-radius: 8px;
    font-weight: 600;
    padding: 10px 22px;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline-primary:hover {
    background: #014be2;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(1, 75, 226, 0.3);
}

/* Hero Section Enhancements */
header {
    background: linear-gradient(135deg, 
        rgba(238, 242, 246, 0.95) 0%, 
        rgba(255, 255, 255, 0.98) 50%,
        rgba(230, 239, 253, 0.95) 100%);
}

header::after {
    opacity: 0.8;
}

.hero-image {
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, 
        rgba(1, 75, 226, 0.1) 0%, 
        rgba(1, 75, 226, 0.05) 100%);
    border-radius: 20px;
    z-index: -1;
}

/* Enhanced Navigation */
.navbar {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.nav-link {
    font-weight: 500;
    transition: all 0.2s ease;
    color: #495057;
}

.nav-link:hover {
    color: #014be2;
    transform: translateY(-1px);
}

.nav-link.active {
    color: #014be2;
    font-weight: 600;
}

/* Section Spacing Improvements */
section {
    padding: 80px 0;
}

.title {
    margin-bottom: 60px;
}

/* Feature Icons Enhancement */
.avtar {
    transition: all 0.3s ease;
}

.feature-card .avtar {
    background: linear-gradient(135deg, rgba(1, 75, 226, 0.1), rgba(1, 75, 226, 0.05));
}

.feature-card:hover .avtar {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(1, 75, 226, 0.2), rgba(1, 75, 226, 0.1));
}

/* Testimonial Cards */
.testaments-cards .card {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
    background: white;
}

.testaments-cards .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Footer Enhancements */
.footer {
    background: linear-gradient(135deg, #111936 0%, #1a2332 100%);
}

.footer .landing-logo {
    filter: brightness(1.1) drop-shadow(0 2px 4px rgba(255, 255, 255, 0.1));
}

/* Hero Section Specific Improvements */
.landing-page header h4.text-muted {
    max-width: 90%;
    line-height: 1.6;
}

.landing-page header .d-inline-flex.w-75 {
    max-width: 90%;
}

@media (min-width: 992px) {
    .landing-page header h4.text-muted {
        max-width: 85%;
    }
    
    .landing-page header .d-inline-flex.w-75 {
        max-width: 85%;
    }
}

@media (min-width: 1200px) {
    .landing-page header h4.text-muted {
        max-width: 80%;
    }
    
    .landing-page header .d-inline-flex.w-75 {
        max-width: 80%;
    }
}

/* Responsive Typography */
@media (max-width: 768px) {
    .landing-page h1 {
        font-size: 2.25rem;
        line-height: 1.2;
    }
    
    .landing-page h2.h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .landing-page header h4.text-muted {
        max-width: 100%;
        font-size: 1rem;
        line-height: 1.5;
    }
    
    section {
        padding: 60px 0;
    }
    
    .title {
        margin-bottom: 40px;
    }
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Custom List Styling */
.customize-list li {
    margin-bottom: 12px;
    font-weight: 400;
    color: #495057;
    transition: color 0.2s ease;
}

.customize-list li:hover {
    color: #343a40;
}

.customize-list li i {
    margin-right: 12px;
    color: #014be2;
}

/* Pricing Enhancement */
.price-price {
    color: #014be2;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(1, 75, 226, 0.1);
}

/* Additional Mobile Enhancements */
@media (max-width: 576px) {
    .landing-page h1 {
        font-size: 1.875rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .landing-page h4 {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.875rem;
    }
    
    .feature-card {
        margin-bottom: 1rem;
    }
    
    .price-card {
        margin-bottom: 2rem;
    }
    
    .hero-image::before {
        display: none;
    }
    
    .navbar {
        padding: 8px 0;
    }
    
    .navbar-brand img {
        max-height: 40px;
    }
}

@media (max-width: 992px) {
    .feature-card .avtar {
        margin-bottom: 1rem;
    }
    
    .testaments-cards .card {
        margin-bottom: 1.5rem;
    }
    
    header {
        min-height: 80vh;
        text-align: center;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
}

/* Choose Section - Make Selected Item White */
.choose-slider .swiper-slide.swiper-slide-active h2 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}

/* Enhanced Focus States for Accessibility */
.btn:focus,
.nav-link:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #014be2;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .feature-card {
        border: 2px solid #343a40;
    }
    
    .btn-primary {
        background: #014be2;
        border: 2px solid #343a40;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .feature-card:hover,
    .price-card:hover,
    .btn:hover {
        transform: none;
    }
}

/* ============================================================================= */
/* Statistics Section Custom Backgrounds */
/* ============================================================================= */

/* Primary Blue Gradient */
.stats-bg-primary {
    background: linear-gradient(135deg, #014be2 0%, #0d5ce8 100%) !important;
    color: white !important;
    border: none !important;
}

.stats-bg-primary .h1,
.stats-bg-primary .h5 {
    color: white !important;
}

/* Light Blue Gradient */
.stats-bg-light {
    background: linear-gradient(135deg, rgba(1, 75, 226, 0.1) 0%, rgba(1, 75, 226, 0.05) 100%) !important;
    border: 1px solid rgba(1, 75, 226, 0.2) !important;
    color: #014be2 !important;
}

.stats-bg-light .h1,
.stats-bg-light .h5 {
    color: #014be2 !important;
}

/* Dark Blue Gradient */
.stats-bg-dark {
    background: linear-gradient(135deg, #011c3a 0%, #014be2 100%) !important;
    color: white !important;
    border: none !important;
}

.stats-bg-dark .h1,
.stats-bg-dark .h5 {
    color: white !important;
}

/* Enhanced hover effects for statistics cards */
.stats-card {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.stats-card:hover::before {
    left: 100%;
}

.stats-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(1, 75, 226, 0.2);
}

/* Icon enhancement */
.stats-card .avtar {
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.stats-bg-light .avtar {
    background: rgba(1, 75, 226, 0.1) !important;
    border: 1px solid rgba(1, 75, 226, 0.2);
}
